feature/1.4.0 — Deploy, Reload, Historique SQLite, Swagger dark mode#39
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…_status - #32: SQLite data/deployments.db, table deployment_log, _init_db(), log_action() - #33: log_action() appelé sur startup, webhook, git_reset, git_pull, deploy, reload - #34: GET /api/history (paginé, filtrable repo/status) + GET /history page HTML - #35: GET /config/repos enrichi avec last_status et last_timestamp par dépôt - Tests: patch DB_PATH dans fixture + 13 nouveaux tests (36 total) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Résumé
https://github.com/lenoirpatrick/githubwebhook) sur/et/webhookdemo/docspersonnalisé (CSS cohérent avec le thème du projet)1.4.0dansREADME.mdetsonar-project.propertiesPOST /deploy/{owner}/{repo}— déclenche ungit pullmanuellement + bouton Deploy par dépôt sur la home pagePOST /reload— redémarre le serveur viaos.execv+ bouton ↺ Recharger avec polling/beatset redirection automatiquedata/deployments.db, tabledeployment_log, fonctions_init_db()etlog_action()log_action()appelé sur chaque action significative :startup,webhook,git_reset,git_pull,deploy,reloadGET /api/history(JSON paginé, filtrable parrepo/status) +GET /historypage HTML dark-themeGET /config/reposenrichi aveclast_status/last_timestamp; indicateur coloré (●/○) par dépôt sur la home pagedeployloguéerrorsiupdate_webhookéchoue (répertoire inexistant)Plan de test
pytest— 36 tests, tous vertsdata/deployments.dbest créé et questartupapparaît dans/history/historyavecstatus=okstatus=errordans/history/docs→ vérifier le thème dark (titres, schémas, boutons Collapse all)/history→ tester les filtres repo/statut et la pagination🤖 Generated with Claude Code